<?php
	//$dtype_id = $params[0];
	//
	//$result = mysql_query("SELECT title FROM `tbl_discount_type` WHERE `dtype_id` = '$dtype_id'");
	//$discount_title = mysql_result($result,0,0);
	//$tp->apply();
	//
	//list($sql,$all_page) = splitPage("`tbl_discount_type`","1 ORDER BY `priority` ASC", 30, $_GET['p']);
	//$strPage = fetchPage($all_page,$_GET['p']);
	//$query = mysql_query($sql);
	//$tp->block('result');
	//while($result = mysql_fetch_assoc($query)) {
	//	$content_id	= $result['dtype_id'];
	//	$title		= $result['title'];
	//	$status		= $result['active'] ? 'active' : 'inactive';
	//	$date		= formatDate($result['date'], 'd/m/Y');
	//	$tp->apply();
	//}
	//
	//mysql_free_result($query);
	redirect('1');
?>